import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import request from './utils/request'
import tool from './utils/tool'
import VueContextMenu from 'vue-contextmenu'

// 导入 ElementUI 组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/assets/css/iconfont/iconfont.css'

Vue.config.productionTip = false
Vue.prototype.$http = request

Vue.use(VueContextMenu)
Vue.use(tool)
Vue.use(ElementUI, { size: 'small' })

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
